import React, { memo } from 'react'
 import {useRoutes} from 'react-router-dom'
 import route  from './route'
import Topbar from './component/Topbar'
const App = memo(() => {
  return (
    <div>
        <Topbar></Topbar>
      {useRoutes(route)}
    
    </div>
  )
})

export default App